import instance from "./instance";
//登录
export const getLogin=(data)=>instance.post('/api/login',data)
//车票信息
export const getCp=(data)=>instance.post('/api/trip/train',data)
//车票详情
export const getCplist=(data)=>instance.get('/api/trip/train/'+data.id,{params:{
    start:data.start,
    end:data.end
}})